package com.wzxy.ping.service.impl;

import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.wzxy.ping.bean.User;
import com.wzxy.ping.dao.UserDao;
import com.wzxy.ping.service.UserService;

@Service("userService")
public class UserServiceImpl implements UserService{

	@Autowired
	private UserDao userDao;

	@Override
	public User byAdminAndPassword(Map<String, String> map) {
		User user = userDao.byAdminAndPassword(map);
		return user;
	}
	
}
